package com.credithc.signature.common.po;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "seal_info")
public class SealInfo {

    @Id
    Long id;

    @Column(name = "create_time")
    Date createTime;

    @Column(name = "update_time")
    Date updateTime;

    @Column(name = "seal_type")
    Integer sealType;

    @Column(name = "office_seal_type")
    Integer officeSealType;

    @Column(name = "use_type")
    Integer useType;

    @Column(name = "status")
    Integer status;

    @Column(name = "seal_code")
    String sealCode;

    @Column(name = "seal_pwd")
    String sealPwd;

    @Column(name = "cert_id")
    Integer certId;

    @Column(name = "seal_person")
    String sealPerson;

    @Column(name = "seal_org")
    String sealOrg;

    @Column(name = "seal_name")
    String sealName;

    @Column(name = "image")
    byte[] image;

    @Column(name = "customer_type")
    Integer customerType;

    @Column(name = "identification_type")
    String identificationType;

    @Column(name = "identification_no")
    String identificationNo;

    @Column(name = "seal_status")
    Integer sealStatus;

    @Column(name = "key_words")
    String keyWords;

    @Column(name = "life_period")
    Integer lifePeriod;

    @Column(name = "ext1")
    String ext1;

    @Column(name = "ext2")
    String ext2;

    @Column(name = "legal_person_name")
    String legalPersonName;

    @Column(name = "legal_person_id")
    String legalPersonId;

    @Column(name = "legal_person_card_type")
    String legalPersonCardType;

    @Column(name = "phone")
    String phone;

    @Column(name = "contact_phone")
    String contactPhone;

    @Column(name = "user_id")
    String userId;

    @Column(name = "seal_source")
    Integer sealSource;

    @Transient
    String appId;
}
